package java67_adv9;

import java.io.Serializable;
import java.util.*;

public class Putinto implements Serializable {
	private List<Integer> reds = new ArrayList<>();
	private Integer blue;

	public boolean addRed(Integer r) {
		if (r > 33 || r < 1)
			return false;

		if (reds.contains(r))
			return false;

		// if (reds.size() >= 6)
		// return false;

		return reds.add(r);
	}

	public int getRedSize() {
		return reds.size();
	}

	public boolean addBlue(Integer b) {
		if (b > 16 || b < 1)
			return false;

		this.blue = b;
		return true;

	}

}
